<%@ Page Language="C#" MasterPageFile="~/Default.master" AutoEventWireup="true" CodeFile="CreateStoredProcedure.aspx.cs" Inherits="CreateStoredProcedure" Title="<%$Resources:web.sitemap, CreateStoredProcedure.Title %>" %>
<%@ Register TagPrefix="Location" TagName="Database" Src="~/Toolbars/DatabaseLocation.ascx" %>
<%@ Register TagPrefix="Location" TagName="Server" Src="~/Toolbars/ServerLocation.ascx" %>

<asp:Content ID="Content1" ContentPlaceHolderID="defaultScript" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" runat="server" ContentPlaceHolderID="breadcrumb">
    <Location:Server Runat="Server" id="ServerLocation"></Location:Server>
    <Location:Database Runat="Server" id="DatabaseLocation" IsActive="true"></Location:Database>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="NavigationPane" Runat="Server">
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ContentPane" Runat="Server">
 
 <div class="RightCenterWell">
        <table width="100%">
            <tr>
                <td valign="top">
                    <asp:Image ID="icon_query_32" SkinID="icon_query_32" runat="Server" />
                </td>
                <td>
                    <span class="header3"><%= Request.QueryString["database"] %>: <asp:Literal ID="Literal2" Text="<%$Resources: LocalizedText,CreateStoredProcedure_Title %>" Runat="Server" /></span>
                    <hr />
                    <p>
                     <asp:Literal ID="Literal1" Text="<%$Resources: LocalizedText,CreateStoredProcedure_Instructions %>" Runat="Server" /></p>
                    <br />
                    <br />
                    <hr />
                    
                    
                         <p>
                    
                    <asp:Label ID="errorLabel" forecolor="red" runat="Server" />
                    <br />
                    <asp:TextBox Rows=15 cols="85" ID="sprocText" TextMode=MultiLine runat=Server>
create procedure [dbo].[Procedure Name]
as
/* procedure text here */
go
                    </asp:TextBox>
                    <br />
                    <asp:Button ID="CreateProcedureButton" Text="<%$Resources: LocalizedText,CreateStoredProcedure_ButtonLabel  %>" OnClick="OnCreateProcedureButtonClick" runat="Server" />
                    </p>
                    
                    </td>
                    </tr>
                    </table>
                    </div>
</asp:Content>

